package com.harry.hr.dao;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.harry.hr.entity.HumanFile;
import com.harry.hr.entity.HumanFileDig;

public interface HumanFileDAO {
	public void addHumanFile(HumanFile humanFile);
	public void delHumanFile(HumanFile humanFile);
	public void updateHumanFile(HumanFile humanFile);
	public List<HumanFile> getAllHumanFile();
	public HumanFile getById(int hufId);
	public List<HumanFile> getHumanFileByPropPage(DetachedCriteria criteria,int firstResult,int maxResults);
	public int getHumanFileByPropPageCount(DetachedCriteria criteria);
	
	public void addDigHumanFile(HumanFileDig humanFileDig);
}
